package com.lanou.sinasports.beans;

import java.util.List;

/**
 * Created by dllo on 16/1/22.
 */
public class GsonGrid {


    /**
     * status : {"code":0,"msg":"ok, get device succ"}
     * data : {"inte":{"news":[{"title":"NBA","id":"653"},{"title":"国际足球","id":"654"},{"title":"中国足球","id":"655"},{"title":"高尔夫","id":"1659"},{"title":"赛车","id":"1660"},{"title":"CBA","id":"656"},{"title":"综合体育","id":"657"},{"title":"搏击","id":"1719"},{"title":"马术","id":"1664"},{"title":"网球","id":"1658"},{"title":"棋牌","id":"1662"},{"title":"跑步","id":"1661"},{"title":"冰雪","id":"1663"}]},"diff":{"news":[]}}
     */

    private ResultEntity result;

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity {
        /**
         * code : 0
         * msg : ok, get device succ
         */

        private StatusEntity status;
        /**
         * inte : {"news":[{"title":"NBA","id":"653"},{"title":"国际足球","id":"654"},{"title":"中国足球","id":"655"},{"title":"高尔夫","id":"1659"},{"title":"赛车","id":"1660"},{"title":"CBA","id":"656"},{"title":"综合体育","id":"657"},{"title":"搏击","id":"1719"},{"title":"马术","id":"1664"},{"title":"网球","id":"1658"},{"title":"棋牌","id":"1662"},{"title":"跑步","id":"1661"},{"title":"冰雪","id":"1663"}]}
         * diff : {"news":[]}
         */

        private DataEntity data;

        public void setStatus(StatusEntity status) {
            this.status = status;
        }

        public void setData(DataEntity data) {
            this.data = data;
        }

        public StatusEntity getStatus() {
            return status;
        }

        public DataEntity getData() {
            return data;
        }

        public static class StatusEntity {
            private int code;
            private String msg;

            public void setCode(int code) {
                this.code = code;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public int getCode() {
                return code;
            }

            public String getMsg() {
                return msg;
            }
        }

        public static class DataEntity {
            private InteEntity inte;
            private DiffEntity diff;

            public void setInte(InteEntity inte) {
                this.inte = inte;
            }

            public void setDiff(DiffEntity diff) {
                this.diff = diff;
            }

            public InteEntity getInte() {
                return inte;
            }

            public DiffEntity getDiff() {
                return diff;
            }

            public static class InteEntity {
                /**
                 * title : NBA
                 * id : 653
                 */

                private List<NewsEntity> news;

                public void setNews(List<NewsEntity> news) {
                    this.news = news;
                }

                public List<NewsEntity> getNews() {
                    return news;
                }

                public static class NewsEntity {
                    private String title;
                    private String id;

                    public void setTitle(String title) {
                        this.title = title;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getTitle() {
                        return title;
                    }

                    public String getId() {
                        return id;
                    }
                }
            }

            public static class DiffEntity {
                private List<?> news;

                public void setNews(List<?> news) {
                    this.news = news;
                }

                public List<?> getNews() {
                    return news;
                }
            }
        }
    }
}
